setHorizontalGradient
@Composable
Extension function to apply a horizontal gradient background to a modifier.
Return
The modified Modifier with the gradient background applied.
Example usage:
Modifier.setHorizontalGradient()
Content copied to clipboard
Parameters
colorStops
The array of color stops for the gradient.